var URL_BASE = "http://2.latest.date-review.appspot.com/";
var URL_IMAGE = URL_BASE + "images/";

// Get orkut id from a profile url
function getOrkutId(profileUrl){
    var regex = /uid=([^&#]+)/;
    var result = profileUrl.match(regex);
    if (result.length == 2) {
        return result[1].toString();;
    } else {
        return null;
    }
}